<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Tutorial Numero 1</title>
<h:outputStylesheet name="css/jsfcrud.css"/>
    </h:head>
    <h:body>
        <h2><center>Tutorial </center></h2>
        <center>
        <h:form>
            <div style="width: 900px; height: 150px"/>
            Login:<br> 
            <h:inputText id="login" size="20" required="true" requiredMessage="Digite Nombre" value="#{accesscontroller.login}"/> <!--llamar login-->
            </br>
            Password:<br> 
            <h:inputSecret id="Password" size="3" required="true" requiredMessage="Digite Contraseña" value="#{accesscontroller.key}"/>
            </br>
            <h:commandButton value="verificar" action="#{accesscontroller.val}"/><!--validar contraseña-->
            <!--<h:commandButton value="Enviar" action="Bienvenido.xhtml"/>--><!--enviar a pagina principal-->
        </h:form>
        </center>
                    <h:form>
                    <h:commandLink action="/usuario/List" value="Show All Usuario Items"/>
                </h:form>
</h:body>

</html>

